<?php
namespace Admin\Model;
use \Think\Model;
class ImgModel extends Model
{
	protected $fieids = array ('id','mid','icon','face');
	protected $pk = 'id';
	protected $_validate = array (
			array ('icon','','图片名已存在',2,'unique',1),
			array ('mid','require','电影ID不能为空'),
			array ('icon','require','电影图片不能为空'),
		);
}